export default[
  {
    path: '/',
    name: 'main',
    component: resolve => require(['@/views/main'], resolve),
    children: [
      {
        path: '',
        name: 'home',
        component: resolve => require(['@/views/main/home'], resolve)
      },
      {
        path: 'login',
        name: 'login',
        component: resolve => require(['@/components/login/login'], resolve)
      },
      {
        path: 'register',
        name: 'register',
        component: resolve => require(['@/components/register/register'], resolve)
      }
      // {
      //   path: '**',
      //   name: 'notfound',
      //   component: resolve => require(['@/components/login/login'], resolve)
      // }
    ]
  }
]
